/**
 * Created by cz on 2017/5/5.
 */
import React,{Component} from "react";
import {
    View,
    Image,
    Text,
    StyleSheet
}from "react-native";
import NavigatorBar from "../../common/NavigatorBar";
import CustomKeyPage from "./CustomKeyPage"
export default class MyPage extends Component{
    constructor(props){
        super(props);
    }
    render(){
        return (
            <View style={styles.container}>
                <NavigatorBar
                    title="我的"
                    style={{backgroundColor:"#6495ED"}}
                />
                <Text style={styles.tips}
                onPress={()=>{
                    this.props.navigator.push({
                        component:CustomKeyPage
                    })
                }}
                >点我到自定义标签</Text>
            </View>
        )
    }
}
const styles = StyleSheet.create({
    container:{
        flex:1
    },
    tips:{
        fontSize:20
    }
});